lcDrwLoad Home

Loads a drawing's data from a file. LiteCAD has a native file format, other formats can be loaded via plugins.

 BOOL lcDrwLoad (
   HANDLE hDrw,
   LPCWSTR szFileName,
   HANDLE hLcWnd
 );

Parameters
hDrw
  Handle to a drawing object.
szFileName
  Drawing's filename or keyword. The following keywords are allowed:
"<Dialog>" - user will select a file by the "Open File" dialog.
"<Recent>" - user will select a file by the "Recent Files List" dialog.
hLcWnd
  Handle to a graphics window. Specify NULL if you do not want to display the drawing.

Return Value

  If the function succeeds, the return value is nonzero (TRUE).

See Also

  lcDrwLoadMem,  lcDrwInsert,  lcDrwSave,  lcDrwNew,  lcGetFileName